/**
 * 
 * 请不要格式化此文件
 * 
 * demo示例的配置;
 * 每个分类（category）有多个组件(comps)
 * 每个组件(component)对应多个示例(samples);
 * component 说明:
 *      1) name: 组件名,会显示在左边的navTree中
 *      2) samples :
 *          3.1) title : 该示例的名字,将出现在demo框架的右边
 *          3.2) height : 该示例的大小,该值将决定装载示例iframe的高度.如果没配置该项,则使用默认高度(400px);iframe的宽度是固定的(600px)
 *          3.3) url : 该示例的路径,相对于/demos/index.html
 */
 
var omUiDemos =  {components:[]};

//Widgets分类
omUiDemos.components[0]={
    category: '主营业务',
    comps: [{name: '订单', samples: [
    			{title: '订单处理', isNew: true,url: '../page/order/order.jsp',height: 500},
    			{title: '历史订单', isNew: true,url: '../page/order/histOrder.jsp',height: 500},
            ]}, {name: '业务数据', samples: [
                {title: '产品维护', isNew:true, url: '../page/data/product.jsp'}, 
                {title: '客户维护',isNew:true,  url: '../page/data/cust.html', java: 'servlet/OmTreeServlet.java'}
            ]}
	         
    ]
};
    
//Forms分类
omUiDemos.components[1]={
    category: '财务',
    comps: [{name: '经营成本', samples: [
                {title: '客户成本', isNew: true, height: 300, url: '../page/finance/cust.jsp'},
			    {title: '营业成本', isNew: true, height: 300, url: '../page/finance/payment.jsp'}
                //{title: '管理费用', isNew: true, height: 300, url: 'form/calendar/default-date.html'}
			 ]},
			{name: '财务汇总', samples: [
			     /**{title: '本月统计', isNew: true, height: 300, url: 'form/combo/simple.html'},
			     {title: '发票记录', isNew: true, height: 300, url: 'form/combo/remote.html', java: 'servlet/OmComboServlet.java'}**/
			 ]},
			{name: '其他管理', samples: [
			                         	 {title: '对账单', isNew: true, height: 300, url: 'form/combo/simple.html'},
			            			     {title: '发票记录', isNew: true, height: 300, url: 'form/combo/simple.html'}
				]},
			{name: '历史查询', samples: [
			            			     {title: '月度统计', isNew: true, height: 300, url: 'form/combo/simple.html'}
			]}
    ]
};

//Window分类
omUiDemos.components[2]={
    category: '报表统计',
    comps: [{name: '报表', samples: [
                {title: '报表查询', isNew: true, url: 'messagebox/default.html'},
                {title: '历史报表', isNew: true, url: 'messagebox/alert_icon.html'}
            ]},{name: '智能分析', samples: [
                {title: '业绩分析',  isNew: true,url: 'dialog/modal.html'}, 
                {title : '产品分析', isNew: true, url: 'dialog/dialog-buttons.html'}
            ]}
    ]
};


omUiDemos.components[3]={
	    category: '网络服务',
	    comps: [{name: '快盘数据', samples: [
	                {title: '文件浏览', isNew: true,height : 430, url: 'draggable/simple.html'}, 
	                {title: '事件监听', isNew: true,height : 550, url: 'draggable/event.html'}, 
	                {title: '拖动限制', isNew: true,height : 430, url: 'draggable/containment.html'}
	            ]},
	            {name: '照片',  isNew: true,samples: [
	                 	                {title: '浏览',height : 430, url: 'draggable/simple.html'}
	                 	            ]}
	    ]
	};
//Layout分类
omUiDemos.components[4]={
    category: '系统管理',
    comps: [{name: '人员管理', samples: [
    			{title: '基本功能', isNew: true,height: 400, url: 'panel/simple.html'}
    		]}
    ]
};


/***
//Layout分类
omUiDemos.components[4]={
    category: 'function',
    comps: [{name: 'omDraggable', samples: [
                {title: '基本功能',height : 430, url: 'draggable/simple.html'}, 
                {title: '事件监听',height : 550, url: 'draggable/event.html'}, 
                {title: '拖动限制',height : 430, url: 'draggable/containment.html'}
            ]},{name: 'omDroppable', samples: [
                {title: '基本功能', height: 320, url: 'droppable/simple.html'},
                {title: '接收范围', height: 500, url: 'droppable/accept.html'},
                {title: '事件传播', height: 420, url: 'droppable/greedy.html'}
            ]},{name: 'omScrollbar',isNew: true, samples: [
                {title: '基本功能', height: 320, url: 'scrollbar/simple.html'},
                {title: '自定义外观', height: 320, url: 'scrollbar/custom.html'}
            ]}
    ]
};
**/

